package com.example.miaosha.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 贷款记录 实体
 *
 * @Author
 * @Date 2022/2/22 16:59
 */
@Data
public class SeLoanRecord implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "用户编号")
    private String userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "额度")
    private String quota;

    @ApiModelProperty(value = "是否归还(1：归还/2：未归还)")
    private Boolean isReturn;

    @ApiModelProperty(value = "归还时间")
    private Date returnTime;

    @ApiModelProperty(value = "创建者编号")
    private String createBy;

    @ApiModelProperty(value = "创建者名称")
    private String createByName;

    @ApiModelProperty(value = "创建时间")
    private Date createAt;
}
